package vip.xiaonuo.facedoor.modular.baseEntity;

import lombok.Data;

import java.util.List;
@Data
public class TreeNode {

    private int value;       // 值

    private String title;    // 名称

    private List<TreeNode> children;// 子数组

    public TreeNode(int value, String title, List<TreeNode> children) {
        this.value = value;
        this.title = title;
        this.children = children;
    }

    public TreeNode(int value, String title) {
        this.value = value;
        this.title = title;
    }

}
